<?php

namespace app\shop\model\document;

use think\Model;
use think\model\concern\SoftDelete;
/**
 * 应用模型
 */
class ContractTpl extends Model
{
    use SoftDelete;
    protected $autoWriteTimestamp = true;

    public function getFieldAttr($value){
        return explode(',',$value);
    }
    public function setFieldAttr($value){
        return implode(',',$value);
    }
}
